package spring.data.specification.entity;

/**
 * 描述: TODO:
 * 包名: spring.data.specification.entity.
 * 作者: barton.
 * 日期: 16-7-11.
 * 项目名称: spring-data
 * 版本: 1.0
 * JDK: since 1.8
 */
public class AssembleEntity {

  private String username;

  private String oname;

  private String userId;

  private String truename;

  private SysUser.UserStatus status;

  private String rname;

  private Long rid;

  public AssembleEntity(String username) {
    this.username = username;
  }

  public AssembleEntity(String username, String oname, String userId, String truename, SysUser.UserStatus status, String rname, Long rid) {
    this.username = username;
    this.oname = oname;
    this.userId = userId;
    this.truename = truename;
    this.status = status;
    this.rname = rname;
    this.rid = rid;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getOname() {
    return oname;
  }

  public void setOname(String oname) {
    this.oname = oname;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public String getTruename() {
    return truename;
  }

  public void setTruename(String truename) {
    this.truename = truename;
  }

  public SysUser.UserStatus getStatus() {
    return status;
  }

  public void setStatus(SysUser.UserStatus status) {
    this.status = status;
  }

  public String getRname() {
    return rname;
  }

  public void setRname(String rname) {
    this.rname = rname;
  }

  public Long getRid() {
    return rid;
  }

  public void setRid(Long rid) {
    this.rid = rid;
  }

  @Override
  public String toString() {
    return "AssembleEntity{" +
     "username='" + username + '\'' +
     ", oname='" + oname + '\'' +
     ", userId='" + userId + '\'' +
     ", truename='" + truename + '\'' +
     ", status='" + status + '\'' +
     ", rname='" + rname + '\'' +
     ", rid='" + rid + '\'' +
     '}';
  }
}
